/* XHTML, HTML4 Reset ---------------- */
a,abbr,address,b,blockquote,body,caption,cite,code,dd,del,dfn,div,dl,dt,em,embed,fieldset,form,h1,h2,h3,h4,h5,h6,hr,html,i,iframe,img,ins,label,legend,li,object,ol,p,pre,q,small,span,strong,sub,sup,table,tbody,td,tfoot,th,thead,time,tr,ul,var {border: 0;margin: 0;padding: 0;font-size: 100%;}html,body {height: 100%;}b,strong {font-weight: bold;}img {color: transparent;font-size: 0;vertical-align: middle;-ms-interpolation-mode: bicubic;}li { display: list-item;}table {border-collapse: collapse;border-spacing: 0;}th,td,caption {font-weight: normal; vertical-align: top;text-align: left;}q {quotes: none;}q:before,q:after {content: '';content: none;}sub,sup,small {font-size: 75%;}sub,sup {line-height: 0; position: relative;vertical-align: baseline;}sub {bottom: -0.25em;}sup {top: -0.5em;}
/* BASIC HTML ------------------------ */
body {font: 0.85em/1.5 Tahoma,Verdana,Arial,sans-serif;word-wrap: break-word;}pre,code { font-family: monospace;}hr {border: 0 #ccc solid;border-top-width: 1px;clear: both;height: 0;}h1 {font-size: 1.9em;}h2 {font-size: 1.7em;}h3 {font-size: 1.6em;}h4 {font-size: 1.4em;}h5 {font-size: 1.2em;}h6 {font-size: 1.1em;}ol {list-style: decimal;}ul {list-style: disc;}li {margin-left: 30px;}p,dl,hr,h1,h2,h3,h4,h5,h6,ol,ul,pre,table,address,fieldset{margin-bottom: 20px;}
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after{ clear: both; }
.clearfix { zoom: 1; }
.clear {clear: both;display: block;overflow: hidden;visibility: hidden;width: 0;height: 0;}
/* PAGE STYLE ------------------------ */
body{
    background-color:#fff;
    color:#222;
}
#page{
    min-height: 100%;
}
#content.topbar-drawer{
    padding-top: 7.2em;
}
a:link,a:visited{
    color: #3866d0;
}
a:hover,a:active{
    color: #278900;
}
/* Page top */
#topbar{
    left: 0;
    margin: 0 -20px;
    padding: 0 20px;
    position: fixed;
    right: 0;
    top: 0;
    -moz-box-shadow: 0 3px 10px #000;
    -webkit-box-shadow: 0 3px 10px #000;
    box-shadow: 0 3px 10px #000;
    filter: progid:DXImageTransform.Microsoft.Shadow(color=#000000, direction='180', strength='10');
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(color=#000000, direction='180', strength='10')";
    z-index: 1000;
}
#home-link{
    float: left;
    width: 40px;
    overflow: hidden;
    text-indent: -999px;
}
#topbar-wrapper{
    position: relative;
}
#topbar ul{
    margin-bottom: 0;
}
#topbar ul li{
    list-style: none;
    margin-left: 0;
}
#topbar-menu-wrapper{
    background: url("../img/layout/logo.png") no-repeat left center;
    padding: 0.7em 0 0.9em 0;
}
#topbar-menu{
    background: url("../img/layout/topbar_menu.png") repeat-x center top #278900;
    position: relative;
    padding: 0.1em 2em;
}
#topbar-menu a:link,#topbar-menu a:visited{
    color: #ffffff;
    text-decoration: none;
}
#topbar-menu a:hover{
    color: #ffe45c;
}
#user-info{
    float: right;
    margin-right:1em;
}
#user-info li{
    float: left;
}
#user-info a{
    padding: 0.2em 0 0.3em 22px;
}
#user-info a.user-link{
    background:  url("../img/layout/user_info.png") no-repeat left center;
}

/* Mega menu */
#mega-menu ul{
    float: left;
    margin-left: 0.5em;
}
#mega-menu ul ul{
    display: none;
}
#mega-menu li{
    float: left;
    padding-left: 10px;
}
/* /Mega menu */
#topbar .toggle{
    position: absolute;
    background: url("../img/layout/topbar_toggle.png") no-repeat 0 0;
    height: 14px;
    width: 100px;
    right: 0;
    top: 100%;
    display: block;
    overflow: hidden;
    text-indent: -999px;
}
#topbar .toggle-active{
    background-position: 0 -14px;
}
#topbar-drawer{
    background-color: #F0F0F0;
    display: none;
}
#topbar-shortcut{
    float: left;
}
#edit-shortcuts{
    float: right;
    padding: 0.5em;
}
#topbar-shortcut li{
    float: left;
    padding: 0.5em;
}
/* Begin Content */
#content{
    min-height: 1px;
    min-width: 960px;
    padding: 4.8em 3em 4em;
}
/* Section */
#section{
    border: 0;
}
.section{
    border: 1px solid #B7B7B7;
}
.section input,.section select{
    margin: 0;
    padding: 0;
    vertical-align: middle;
}
.section-nav{
    background: 0;
    border: 0;
}
/* /Section */
#toolbar{
    padding: 1em 0.5em;
    border-bottom: 1px solid #D9D9D9;
}
#toolbar-title{
    float: left;
    color: #555555;
}
#toolbar-control{
    float: right;
    text-shadow: 0 0.1em 0 #fff;
}
#toolbar-control .ui-button{
    margin-bottom: 0.3em;
    margin-right: 0.5em;
}
#toolbar-title h2{
    margin-bottom: 0;
    font-size: 1.2em;
    padding: 0.2em 0.3em 0.2em 0.5em;
}
/* Begin Footer */
#footer{
    min-height: 3em;
    margin-top: -3em;
    font-size: 0.9em;
    min-width: 960px;
    background-color: #575A5D;
    color: #FFFFFF;
}
#footer-wrapper{
    padding: 0.5em 3em;
}
#footer a{
    color: #fff;
}
#footer .copyright,#footer .powered{
    float: left;
    padding-right: 2.2em;
}
#footer .knowled{
    float: right;
}
#footer .knowled a{
    padding-right: 0.3em;
}
#footer .knowled a:last-child{
    padding-right: 0;
}

/* UI Customize */
.ui-message{margin: 0.4em 0;overflow: hidden;padding: 0.5em 0.5em 0.5em 40px;text-shadow: 0 0.1em 0 #fff;}
.ui-message-error{color: #cd0a0a;border: 1px solid #cd0a0a;background: #FED5CD url("../img/layout/ui_message_error.png") repeat-x scroll 50% 100%;}
.ui-message-warning{color: #6a2806;border: 1px solid #6a2806;background: #F1EFB1 url("../img/layout/ui_message_warning.png") repeat-x scroll 50% 100%;}
.ui-message-success{color: #233621; border: 1px solid #233621; background: #e6fbb2 url("../img/layout/ui_message_success.png") repeat-x scroll 50% 100%;}
.ui-message-info{color: #1616b1; border: 1px solid #1616b1;background: #B3E5F4 url("../img/layout/ui_message_info.png") repeat-x scroll 50% 100%;}
.ui-message-icon{width: 22px;height: 22px;float: left;margin-left:  -35px;}
.ui-message .ui-icon{float: right;cursor: pointer;}
.ui-message-error .ui-message-icon{background-image: url(../img/layout/error.png);}
.ui-message-warning .ui-message-icon{background-image: url(../img/layout/warning.png);}
.ui-message-info .ui-message-icon{background-image: url(../img/layout/info.png);}
.ui-message-success .ui-message-icon{background-image: url(../img/layout/success.png);}
/* UI Extension */
#page .ui-widget{font-size: 1em;}
#page .ui-widget-content a:hover{color: #278900;}
#page .ui-datepicker {background-color: #FCFDFD;}
#page .ui-tabs .ui-tabs-panel{padding: 0 0.2em 0.2em;}
.ui-widget-header .ui-widget-content .ui-icon{ background-image: url("../img/layout/jqueryui/ui-icons_4b344b_256x240.png");}
.ui-state-default, .ui-button, .ui-state-active{text-shadow: 0 0.1em 0 #fff;}
.ui-datepicker a.ui-state-default{background:  #fff;border: none;}
.ui-datepicker a.ui-state-highlight {background-color: #666666;}
.ui-datepicker a.ui-state-active{background:  #0066cc;}
.ui-datepicker a.ui-state-highlight,.ui-datepicker a.ui-state-active{color: #fff;text-shadow: 0 0.1em 0 #000;}
.ui-icon:hover{  background-image: url("../img/layout/jqueryui/ui-icons_ef8c08_256x240.png");}



/* Nhờ dùm giúp cái control-icon này */
/* control icon */
.control-icon .ui-icon {background-image: url(../img/layout/ui-icon-new.png); }
.control-icon .ui-state-default .ui-icon { background-image: url(../img/layout/ui-icon-new.png); }
.control-icon .ui-state-hover .ui-icon, .control-icon .ui-state-focus .ui-icon {background-image: url(../img/layout/ui-icon-new-hover.png); }
.control-icon .ui-state-active .ui-icon {background-image: url(../img/layout/ui-icon-new-hover.png); }
/* positioning */
.icon-add { background-position:  0 0; }
.icon-translate { background-position: -16px 0; }
.icon-cancel { background-position: -96px 0; }
.icon-copy { background-position: -16px 0; }
.icon-remove { background-position: -48px 0; }
.icon-edit { background-position: -32px 0; }
.icon-export{background-position: -96px 0;}
.icon-import{background-position: -112px 0;}
.icon-list{background-position: -128px 0;}
.icon-refresh{background-position: -144px 0;}
.icon-save { background-position: -64px 0; }
.icon-next { background-position: -112px 0; }
.icon-apply { background-position: -80px 0; }

/* /Nhờ dùm giúp cái control-icon này */






/* page */
#section .ui-tabs-nav .ui-icon{
    margin-right: 5px;
}
.table-scroll{
    overflow: hidden;
}
.table-content{
    width: 100%;
    overflow-y: hidden;
    overflow-x : auto;
}
.table-content table{
    width: 100%;
    margin-bottom: 0;
}
.table-content tr.odd{
    background-color: #EDF1F3;
    border-bottom: 1px solid #D8DCDE;
}
.table-content tr.table-row:hover,.table-content tr.table-hover{
    background-color: #F9F5C9;
}
.table-toolbar,.table-head,.table-paginate span{
    background: url("../img/layout/header.png") repeat-x scroll 50% 50% #E6E6E6;
    border-style: solid;
    border-color: #fff #D9D9D9 #D9D9D9 #fff;
    border-width: 1px;
    padding: 0.5em;
}
.table-breadcrumb{
    font-size: 0.9em;
    padding-bottom: 0.3em;
}
.table-breadcrumb a:first-child{
    margin-left: 0;
}
.table-breadcrumb a{
    margin: 0 0.5em;
}
.table-head .ui-icon,.table-translate a,.table-actions a,.section-nav .ui-icon{
    display:inline-block;
    vertical-align: middle;
}
.table-head a{
    text-decoration: none;
}
.table-head{
    border-right-color: #ccc;
    border-left-color: #fff;
    padding: 0.3em 1em;
    text-shadow: 0 1px 0 #FFFFFF;
    white-space: nowrap;
    display: block;
}
.table-col{
    vertical-align: middle;
    border: #E9E9E7 solid 1px;
    border-top: 0;
    padding: 0.2em 0.3em;
}
.table-length,.table-info{
    float: left;
}
.table-filter,.table-paginate{
    float: right;
    position:relative;
}
.table-toolbar .input{
    margin: 0.2em 0;
}
.table-filter .filter-keyword{
    float: left;
    border: #ccc solid 1px;
    background: #fff url("../img/layout/search_label.gif") no-repeat 6px 50%;
    padding:1px 1px 1px 20px;
    overflow: hidden;
    position: relative;
}
.filter-go{
    padding: 1px;
    float: left;
    margin-left: 5px;
}
.filter-go input{
    background: url("../img/layout/submit.png") no-repeat;
    border: none;
    text-indent: -999px;
    cursor: pointer;
    height: 27px;
    width: 68px;
    overflow: hidden;
}
.filter-go input:hover{
    background-position: 0 -27px;
}
.table-filter .filter-keyword input{
    border: 0;
    background: 0;
    padding: 0;
    float: left;
}
#filter-keyword,#filter-limit{
    padding: 0.3em 0.4em;
}
.filter-keyword .toggle .ui-icon{
    position: absolute;
    right: 5px;
    top: 50%;
    margin-top: -8px;
}
#filter-options h3.legend {background:none;padding:0.4em 0}
#filter-options h3.legend .wd-arrow{display:none}
#filter-options .panel{padding:0}
#filter-options .fieldset{padding: 0.6em;margin:0}
#filter-options .input{padding:0}
#filter-options{width:120%;position:absolute;top:100%;right:0; margin-right: 75px;display:none}
#filter-close{position:absolute;top:2%;right:2%;cursor:pointer;z-index:20}
.table-id,.table-boolean,.table-integer,.table-datetime{
    text-align: center;
}
/* Form */
.panel{
    visibility: visible;
    position:relative;
    z-index:10;
    padding:0.5em;
}
.panel fieldset{
    border: none;
    margin: 0;
}
.fieldset{
    border: 1px solid #CCCCCC;
    margin: 0.2em 0 0.7em; 
    padding: 0;
    background-color: #fff;
}
.panel .fieldset:last-child{
    margin-bottom: 0;
}
.panel .legend{
    border-bottom:  1px solid #CCCCCC;
    font-size: 1.1em;
    text-transform: uppercase;
    margin-bottom: 0.4em;
    padding: 0.4em;
    color: #268600;
    font-weight:normal;
    background-color:#F0F0F0;
    position:relative;
}
h3.wd-none-margin{margin-bottom:0;border-bottom:none}
.wd-arrow{background:url(../img/layout/arrow-panel.png) no-repeat center center;height:8px;width:8px;position:absolute;top:50%;right:1%;margin-top:-4px;}
.wd-arrow-active{background:url(../img/layout/arrow-panel-active.png) no-repeat center center}
.column{
    float: left;
}
.coldouble{
    width: 100%;
}
.colsingle{
    width: 50%;
}
.colcomment{
    font-size: 0.9em;
    color: #787b7b;
    margin: 0.3em 1em 0;
    clear: both;
}
.column .input label{
    display: block;   
    padding: 0.7em 0;
    font-weight:bold;
}
.column .required label {
    _zoom: expression( this.runtimeStyle.zoom="1",this.appendChild(document.createElement("span")).className="after");
}
.column .required label:after,
.column .required label .after {
    content: '*';
    display:inline;
    color: #f00;
    padding-left: 0.4em;
}
.rowset{
    margin:0 0 0.5em 0;
}
.column .input{
    padding:0 3em 0 1em
}
.column .input div label{
    display: inline;
    font-weight: normal;
    padding: 0.2em 0.4em;
}
.text input,.password input,.input select,.input textarea{
    background: none repeat scroll 0 0 #FBFBFB;
    border: 1px solid;
    /*     border-color: #999999 #CCCCCC #CCCCCC #CCCCCC; */
    border-color: #CCCCCC;
    color: #2f2f2f;
    padding: 0.5em 0.4em;
}
.text input:focus,
.password input:focus,
.input select:focus,
.input textarea:focus{
    border:1px solid #66B325;
    background-color:#fff;
}
.input select{
    padding:0.3em;
}
.text input.validation-failed,.password input.validation-failed,.input select.validation-failed,.input textarea.validation-failed{
    border-color:  #862304 #f47851 #f47851 #f47851;
    color : #FF3300;
}
.text input.validation-passed,.password input.validation-passed,.input select.validation-passed,.input textarea.validation-passed{
    border-color: #297b0d #33aa09 #33aa09 #33aa09;
}
.validation-notice,.error-message{
    clear: both;
    padding: 0.2em 0;
    color : #FF3300;
    text-shadow:0 0.1em 0 #fff;
}
.validation-wait{
    background: url("../img/layout/wait.gif") no-repeat left center;
    padding-left: 20px;
}
input.validation-mask{
    color: #999;
    font-style: italic;
}
.colsingle .text input, .colsingle .password input,.colsingle .select select,.colsingle .textarea textarea,
.coldouble .text input, .coldouble .password input,.coldouble .select select,.coldouble .textarea textarea{
    width: 100%;
}
.textarea textarea{
    overflow: auto;
    resize: none;
}
.panel .select .checkbox,.panel .select .radio{
    float: left;
}
/* Paging */
.table-paginate span{
    float: left;
    padding: 0.2em 0.7em;
}
.table-paginate span.current,.table-paginate span.disabled{
    cursor: default;
}
.table-paginate span.current{
    background: #278900;
    color: #fff;
}
.table-paginate span.disabled{
    color: #C2C3C3;
}
.table-paginate span a{
    text-decoration: none;
}
/* Table action */
.table-actions,.table-translate{
    white-space: nowrap;
    text-align: center;
}
.table-actions a,#section .ui-tabs-nav .ui-icon{
    text-indent: 0;
    font-size: 0;
}
.table-translate img{
    width: 16px;
    height: 11px;
    border: solid 1px #ccc;
    cursor: pointer;
}
.table-translate a{
    text-decoration: none;
    margin: 0 2px;
}
/* Totop */
#to-top {display:none;text-decoration:none;position:fixed;bottom:1px;right:1px;overflow:hidden;width:51px;height:51px;border:none;text-indent:-999px;background:url(../img/layout/ui_totop.png) no-repeat left top;z-index: 9999;}
#to-top-hover {background:url(../img/layout/ui_totop.png) no-repeat left -51px;width:51px;height:51px;display:block;overflow:hidden;float:left;opacity: 0;filter:alpha(opacity=0);}
#to-top:active, #to-top:focus {outline:none;}
.translate-wrapper{
    padding:0.2em 0.8em;
}
.translate-content{
    padding:0.4em;
    border: 1px solid #CCCCCC;
    margin: 0.2em 1.2em 0.2em 1em;
    max-height: 200px;
    overflow: auto;
}
.translate-title{
    width:6%;
    cursor:pointer;
    font-weight:bold;
    padding: 0.4em 0;	
}
.translate-title .ui-icon{	
    vertical-align: middle;
    display:inline-block;	
}
.table-content table .table-region-title,
.table-content table tr.table-region-title:hover{
    background-color:#278900;color:#fff;
}
.table-region-title td{color:#fff;padding:0.7em; }
.table-block-title{padding-left: 1.5em;}
.section .view_page_link{background-color:#58b730;float: right;border: 0 none;color: #FFFFFF;font-size: 0.95em;height: 23px;padding: 0 12px;margin-top: 30px;text-decoration: none;}
.form_reply_email div.input{float:left;margin:6px 0;}
.form_reply_email td label{float :left;width:150px;padding-right:10px;line-height:29px;text-transform:capitalize;}
.form_reply_email .input input{
    float: left;
    padding: 7px 5px;
    width: 400px !important;
}
.form_reply_email .submit input{background-color:#58b730;float: right;border: 0 none;color: #FFFFFF;font-size: 0.95em;height: 23px;padding: 0 12px;margin-top: 30px;text-decoration: none;}